<template>
  <div>
    <div class="task-nav">
      <div class="nav-title">任务导航</div>
      <div class="nav-button">
        <div class="el-row">
          <el-row :gutter="20">
            <el-col :span="4.8">
              <div class="nav-item">
                <div class="left">
                  <div class="iconfont el-icon-daishouhuo" />
                </div>
                <div class="right">收货任务</div>
              </div>
            </el-col>
            <el-col :span="4.8">
              <div class="nav-item">
                <div class="left" style="background: #52d4f3">
                  <div class="iconfont el-icon-shangjia" />
                </div>
                <div class="right">上架任务</div>
              </div>
            </el-col>
            <el-col :span="4.8">
              <div class="nav-item">
                <div class="left" style="background: #ff7100">
                  <div class="iconfont el-icon-pandian" />
                </div>
                <div class="right">盘点任务</div>
              </div>
            </el-col>
            <el-col :span="4.8">
              <div class="nav-item">
                <div class="left" style="background: #ff609e">
                  <div class="iconfont el-icon-jianhuo" />
                </div>
                <div class="right">拣货任务</div>
              </div>
            </el-col>
            <el-col :span="4.8">
              <div class="nav-item">
                <div class="left" style="background: #ffb200">
                  <div class="iconfont el-icon-a-hezuowoshoujiaoliu-01" />
                </div>
                <div class="right">交接任务</div>
              </div>
            </el-col>
          </el-row>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
// import { warehouseAPI } from '../../../api/article'
export default {
  data() {
    return {
      userdata: {},
      congang: '#fff',
      congback: '#fbf7f7'
    }
  },
  // created() {
  //   this.gotowarehouse()
  // },
  mounteds: {
    // async gotowarehouse() {
    //   const res = await warehouseAPI
    //   console.log(res)
    // }

  }
}
</script>

<style lang="scss">
  .task-nav {
    width: 100%;
    height: 188px;
    background: #fff;
    box-shadow: 0 0 6px 0 rgb(144 142 142 / 17%);
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    .nav-button {
      background-color: #fff;
      .nav-item {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        width: 203.5px;
        height: 93px;
        background: #fbf7f7;
        border-radius: 8px;
        margin-top: 25px;
        cursor: pointer;
        .left {
          width: 50px;
          height: 50px;
          background: #0076ff;
          border-radius: 25px;
          display: flex;
          align-items: center;
          justify-content: space-around;
          font-size: 28px;
          color: #f8f5f5;
        }
        .right {
          font-size: 16px;
          font-weight: 500;
          color: #332929;
          line-height: 22px;
        }
      }
    }
  }
</style>
